<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<form id="queryPageForm" action="<s:url action="index" />" method="post">
	<div id="pageInfo" style="width: 100%;text-align: right;">
	
	<input type="hidden" name="page.queryPage"  id="queryPage" value="<s:property value="page.queryPage"/>"> 
	<s:iterator value="query.query">
		<input type="hidden" name="query.query['<s:property value="key"/>']" value="<s:property value="value"/>" />
	</s:iterator>
	
	<p id="page">
		<a class="n" href="#" onclick="goPage(<s:property value="page.upper"/>)">上一页</a>
		<s:iterator value="page.upperps">
			<a href="#" onclick="goPage(<s:property/>)"><s:property/></a>
		</s:iterator>
		<strong><s:property value="page.currentPage"/></strong>
		<s:iterator value="page.nextps">
			<a href="#" onclick="goPage(<s:property/>)"><s:property/></a>
		</s:iterator>
		<a class="n" href="#" onclick="goPage(<s:property value="page.next"/>)">下一页</a>
		
		<!-- 
		<span id="totalRows">共 <s:property value="page.crruntMaxPage"/> 页</span>
		<span >   </span>
		<span id="totalRows">共 <s:property value="page.crruntTotalRows"/> 记录</span>
		 -->     
		<span id="totalRows">page:<s:property value="page.crruntMaxPage"/></span>
		<span >-</span>
		<span id="totalRows">total:<s:property value="page.crruntTotalRows"/> </span>
		
	</p>
	
	
	</div>
</form>

